package com.itheima.stock.util;

/**
 * @author zby
 * @created 2024-06-19 23:12
 * @description Redis key生成工具类
 */
public class RedisKeyUtil {

    /**
     * 生成Redis key
     *
     * @param prefix key前缀
     * @param key    业务key
     * @return 完整的Redis中的key
     */
    public static String generateKey(String prefix,  String key) {

        return prefix + key;
    }

    private RedisKeyUtil() {
    }


}
